package com.test.spring.repository;

import com.test.spring.data.User;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by ll on 2017/2/15.
 */
@Repository
public interface UserMapper {
    List<User> findAll();

    int insertSelective(User user);

    void updateByPrimaryKeySelective(User user);
}
